package com.openass.utils
{
   /**
    * Print simple data structures and associative arrays (called objects).
    */
   public function TraceObject(obj:*, lv:int = 0):void
   {
      var tabs:String = '';
      for (var i:int = 0; i < lv; ++i, tabs += "\t");
      
      for each (var prop:String in obj) 
      {
         trace(tabs + prop + ' : ' + obj[prop]);
         TraceObject(obj[prop], lv + 1);
      }
   }
   
   // --------------------- LINE ---------------------
   
}